projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be03613
)
appchooserbutton: Set a CSS name
author
nana-4
<hnmaigo@gmail.com>
Sun, 2 Aug 2020 09:26:40 +0000
(18:26 +0900)
committer
nana-4
<hnmaigo@gmail.com>
Sun, 2 Aug 2020 09:26:40 +0000
(18:26 +0900)
Otherwise it has a CSS name "widget".
gtk/gtkappchooserbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkappchooserbutton.c
b/gtk/gtkappchooserbutton.c
index 518f2c64be1e06d8ded1d38c781bb77bfd8b51c5..7e81e2c925a78b2c01d2e1118a2f29a524741e46 100644
(file)
--- a/
gtk/gtkappchooserbutton.c
+++ b/
gtk/gtkappchooserbutton.c
@@
-45,6
+45,10
@@
*
* To track changes in the selected application, use the
* #GtkAppChooserButton::changed signal.
+ *
+ * # CSS nodes
+ *
+ * GtkAppChooserButton has a single CSS node with the name “appchooserbutton”.
*/
#include "config.h"
@@
-741,6
+745,7
@@
gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
1, G_TYPE_STRING);
+ gtk_widget_class_set_css_name (widget_class, I_("appchooserbutton"));
}
static void